//
//  ListView.m
//  BiDongComic
//
//  Created by 吴炳毅 on 16/3/22.
//  Copyright © 2016年 BestRiven. All rights reserved.
//

#import "ListView.h"

@implementation ListView



- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addAllViews];
    }
    return self;
}


- (void)addAllViews {
    self.backgroundColor = [UIColor cyanColor];
    
    self.listTableView = [[UITableView alloc]initWithFrame:self.bounds style:UITableViewStylePlain];
    [self addSubview:self.listTableView];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
